package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ShopCar;

import java.util.List;

public interface ShopCarMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShopCar record);

    ShopCar selectByPrimaryKey(Long id);

    List<ShopCar> selectAll();

    int updateByPrimaryKey(ShopCar record);

    List<ShopCar> selectByUser(Long userId);

    ShopCar selectByProductId(Long productId);
}